<template>
  <el-tabs v-model="activeName"  type="card" class="app-container" @tab-click="tabClick">
    <el-tab-pane label="库存" name="first">
      <Cpkc></Cpkc>
    </el-tab-pane>
    <el-tab-pane label="入库" name="second">
      <Cprk></Cprk>
    </el-tab-pane>
    <el-tab-pane label="出库" name="third">
      <Cpck></Cpck>
    </el-tab-pane>

  </el-tabs>
</template>

<script>
import Cprk from "@/views/work/cprk"
import Cpck from "@/views/work/cpck"
import Cpkc from "@/views/work/cpkc"

export default {
  name: "Cpgl",
  components:{Cpck,Cpkc,Cprk},
  data() {
    return {
      // 遮罩层
      loading: true,
      activeName: 'first',

    };
  },
  created() {
  },
  methods: {
    tabClick(tab, event) {
      console.log(tab, event);
      // this.$router.push({path:'/'})
      // this.@$router.replace({name:'productivity',params:''});
      // this.$router.push({ path: "/system/user" },tab.);
    },
  }
};
</script>
